Make sure icons update on theme change
authorMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jan 2016 02:22:11 +0000 (21:22 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 5 Jan 2016 02:32:19 +0000 (21:32 -0500)
commitf63e8edec68a158910f5f971b5f47cb9b51825cb
tree1cfd1704203bd8af8fd4879db749af94e8a0bc45
parentb387a966ce0dd7e1815735e75494c73be0ea92de
Make sure icons update on theme change

Gadgets don't connect to style-changed for widget nodes, and
GtkImage uses its widget node for the icon helper. The visible
effect of this is that symbolic icons don't change color when
switching to the dark variant of Adwaita.

Fix this by manually invalidating the icon helper.
gtk/gtkiconhelper.c
gtk/gtkiconhelperprivate.h
gtk/gtkimage.c